Optimal. Leaf size=108 \[ \frac{(b c-a d) (a+b x)^{m+1} (c+d x)^{-m} \left (\frac{b (c+d x)}{b c-a d}\right )^m F_1\left (m+1;m-1,2;m+2;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{(m+1) (b e-a f)^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.216053, antiderivative size = 108, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077 \[ \frac{(b c-a d) (a+b x)^{m+1} (c+d x)^{-m} \left (\frac{b (c+d x)}{b c-a d}\right )^m F_1\left (m+1;m-1,2;m+2;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{(m+1) (b e-a f)^2} \]
Antiderivative was successfully verified.
[In] Int[((a + b*x)^m*(c + d*x)^(1 - m))/(e + f*x)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 26.1598, size = 83, normalized size = 0.77 \[ - \frac{\left (\frac{b \left (- c - d x\right )}{a d - b c}\right )^{m} \left (a + b x\right )^{m + 1} \left (c + d x\right )^{- m} \left (a d - b c\right ) \operatorname{appellf_{1}}{\left (m + 1,2,m - 1,m + 2,\frac{f \left (a + b x\right )}{a f - b e},\frac{d \left (a + b x\right )}{a d - b c} \right )}}{\left (m + 1\right ) \left (a f - b e\right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x+a)**m*(d*x+c)**(1-m)/(f*x+e)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 0.540565, size = 461, normalized size = 4.27 \[ \frac{(a+b x)^{m+1} (c+d x)^{-m} \left (-\frac{d (m+2) (b c-a d) (b e-a f)^3 F_1\left (m+1;m,1;m+2;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )}{b f (a f-b e) \left ((m+2) (b c-a d) (b e-a f) F_1\left (m+1;m,1;m+2;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )+(a+b x) \left ((a d f-b c f) F_1\left (m+2;m,2;m+3;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )+d m (a f-b e) F_1\left (m+2;m+1,1;m+3;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )\right )\right )}+c \left (\frac{(c+d x) (b e-a f)}{(e+f x) (b c-a d)}\right )^m \, _2F_1\left (m,m+1;m+2;\frac{(c f-d e) (a+b x)}{(b c-a d) (e+f x)}\right )-\frac{d e \left (\frac{(c+d x) (b e-a f)}{(e+f x) (b c-a d)}\right )^m \, _2F_1\left (m,m+1;m+2;\frac{(c f-d e) (a+b x)}{(b c-a d) (e+f x)}\right )}{f}\right )}{(m+1) (e+f x) (b e-a f)} \]
Warning: Unable to verify antiderivative.
[In] Integrate[((a + b*x)^m*(c + d*x)^(1 - m))/(e + f*x)^2,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.102, size = 0, normalized size = 0. \[ \int{\frac{ \left ( bx+a \right ) ^{m} \left ( dx+c \right ) ^{1-m}}{ \left ( fx+e \right ) ^{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x+a)^m*(d*x+c)^(1-m)/(f*x+e)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m + 1}}{{\left (f x + e\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)^m*(d*x + c)^(-m + 1)/(f*x + e)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m + 1}}{f^{2} x^{2} + 2 \, e f x + e^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)^m*(d*x + c)^(-m + 1)/(f*x + e)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x+a)**m*(d*x+c)**(1-m)/(f*x+e)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m + 1}}{{\left (f x + e\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)^m*(d*x + c)^(-m + 1)/(f*x + e)^2,x, algorithm="giac")
[Out]